﻿Partial Class MainWindow
    Public Sub New()

        ' This call is required by the Windows Form Designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.
        MyInitialize()
    End Sub

    Private Sub MyInitialize()
        g_mainwindow = Me
        g_mainpage = PageManager.Page(EnumPage.eMain)
        Me.Content = g_mainpage

        AddHandler Me.Drop, AddressOf DragDropHelper.OnDrop
        AddHandler Me.DragEnter, AddressOf DragDropHelper.OnDragEnter

        System.Threading.Thread.CurrentThread.Name = "MyMainThread"

    End Sub

End Class
